<?php
// +----------------------------------------------------------------------
// | Author: yaoyihong <510974211@qq.com>
// +----------------------------------------------------------------------

namespace addon\cms\model;
use \think\Request;
use app\common\model\AddonBase;
class Spage extends AddonBase
{
    protected $insert = ['updatetime','datetime'];
    protected $update = ['updatetime'];

    protected function setUpdatetimeAttr()
    {
        return time();
    }
    protected function setDatetimeAttr($value)
    {
        return time();
    }
}
